﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo2
{
    class Program
    {      
        //1、猫、狗、鸭、猴，（吃、游泳、爬树）
        static void Main(string[] args) 
        {
            ueat u1 = new ueat("我是猫");
            u1.info();
            u1.Eat();
            u1.pashu();

            Console.WriteLine();

            ueat u2 = new ueat("我是狗");
            u2.info();
            u2.Eat();
            u2.swim();

            Console.WriteLine();

            ueat u3 = new ueat("我是狗");
            u3.info();
            u3.Eat();
            u3.swim();

            Console.WriteLine();

            ueat u4 = new ueat("我是猴子");
            u4.info();
            u4.Eat();
            u4.pashu();
        }
        
    }
}
